#ifndef CONTEXT_WIDGET_H
#define CONTEXT_WIDGET_H

#include <QWidget>
#include <QMenu>
#include <QAction>

class ContextWidget : public QWidget
{
	Q_OBJECT

public:
	QMenu * menu;
	QAction * copy;
	QAction* paste;
public:
	explicit ContextWidget(QWidget *parent = nullptr);

private:
	void initAction();

private slots:
	void copy_slot();
	void paste_slot();

protected:
	void contextMenuEvent(QContextMenuEvent *event) override;
};

#endif // CONTEXT_WIDGET_H
